package com.service;

import com.pojo.Export_info;
import com.util.PageUtil;

public interface Export_infoService {


    //获取所有出库列表
    //public abstract List<Export_info> findAllExportList();

    //分页获取单页出库列表、页码、页面大小、总数
    public abstract PageUtil<Export_info> findPageExportList(int pageIndex, int pageSize, String search);

    //获取单个出库、编辑
    public abstract Export_info findExportById(int id);

    //编辑更新出库
    public abstract int updateExport(Export_info exportInfo);

    //新增出库
    public abstract int addExport(Export_info exportInfo);

    //删除单个出库
    public abstract int delExport(int id);

    //批量删除出库
    public abstract int delExports(String ids);

    //根据药品id查询该药品出库总数
    Integer queryExportQuantityByMedicineId(int id);
}
